<?php echo '<?xml version="1.0" encoding="utf-8"?>'."\n" ?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title><?php echo $post->getTitle() ?></title>
  <subtitle>Atom representation of the article #<?php echo $post->getId() ?></subtitle>
  <link href="<?php echo url_for('post_show', array('sf_subject' => $post, 'sf_format' => 'atom'), true) ?>" rel="self"/>
  <updated><?php echo $post->getDateTimeObject('updated_at')->format(DATE_ATOM) ?></updated>
  <author>
    <name><?php echo $post->getAuthor()->getName() ?></name>
    <email><?php echo $post->getAuthor()->getEmailAddress() ?></email>
  </author>
  <id><?php echo url_for('post_show', $post, true) ?></id>
  <?php include_partial('entry', array('post' => $post)) ?>
</feed>